Optimal. Leaf size=558 \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} ((m+n+2) (b d e ((m+n+3) (A (-a d f-b c f+b d e)+a B c f)-(B e-A f) (a d (n+1)+b c (m+1)))-f (a d+b c) ((m+n+3) (A (-a d f-b c f+b d e)+a B c f)-(B e-A f) (a d (n+1)+b c (m+1)))+a b c d f (B e-A f))-(a d (n+1)+b c (m+1)) (a f (A d f (m+2)+B (d e (n+1)-c f (m+n+3)))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))) \, _2F_1\left (m+1,-n;m+2;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (m+n+2) (m+n+3) (b e-a f)^3 (d e-c f)^2}+\frac{(a+b x)^{m+1} (B e-A f) (c+d x)^{n+1} (e+f x)^{-m-n-3}}{(m+n+3) (b e-a f) (d e-c f)}+\frac{(a+b x)^{m+1} (c+d x)^{n+1} (e+f x)^{-m-n-2} (a f (A d f (m+2)+B (d e (n+1)-c f (m+n+3)))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))}{(m+n+2) (m+n+3) (b e-a f)^2 (d e-c f)^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 3.13745, antiderivative size = 558, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 34, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.088 \[ \frac{(a+b x)^{m+1} (c+d x)^n (e+f x)^{-m-n-1} \left (\frac{(c+d x) (b e-a f)}{(e+f x) (b c-a d)}\right )^{-n} ((m+n+2) (-b d e (a (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A c f (n+2)-A d e (m+n+3)+B c e (m+1)))+f (a d+b c) (a (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A c f (n+2)-A d e (m+n+3)+B c e (m+1)))+a b c d f (B e-A f))-(a d (n+1)+b c (m+1)) (a f (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))) \, _2F_1\left (m+1,-n;m+2;-\frac{(d e-c f) (a+b x)}{(b c-a d) (e+f x)}\right )}{(m+1) (m+n+2) (m+n+3) (b e-a f)^3 (d e-c f)^2}+\frac{(a+b x)^{m+1} (B e-A f) (c+d x)^{n+1} (e+f x)^{-m-n-3}}{(m+n+3) (b e-a f) (d e-c f)}+\frac{(a+b x)^{m+1} (c+d x)^{n+1} (e+f x)^{-m-n-2} (a f (A d f (m+2)-B c f (m+n+3)+B d e (n+1))+b (A f (c f (n+2)-d e (m+n+4))+B e (c f (m+1)+d e)))}{(m+n+2) (m+n+3) (b e-a f)^2 (d e-c f)^2} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x)^m*(A + B*x)*(c + d*x)^n*(e + f*x)^(-4 - m - n),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**m*(B*x+A)*(d*x+c)**n*(f*x+e)**(-4-m-n),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 12.6203, size = 31260, normalized size = 56.02 \[ \text{Result too large to show} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(a + b*x)^m*(A + B*x)*(c + d*x)^n*(e + f*x)^(-4 - m - n),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.222, size = 0, normalized size = 0. \[ \int \left ( bx+a \right ) ^{m} \left ( Bx+A \right ) \left ( dx+c \right ) ^{n} \left ( fx+e \right ) ^{-4-m-n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^m*(B*x+A)*(d*x+c)^n*(f*x+e)^(-4-m-n),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (B x + A\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 4}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (B x + A\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 4}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**m*(B*x+A)*(d*x+c)**n*(f*x+e)**(-4-m-n),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (B x + A\right )}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{n}{\left (f x + e\right )}^{-m - n - 4}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((B*x + A)*(b*x + a)^m*(d*x + c)^n*(f*x + e)^(-m - n - 4),x, algorithm="giac")
[Out]